import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int k = scanner.nextInt();
        int m = scanner.nextInt();
        int[] array = new int[n];

        for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
        }

        Solution solution = new Solution();
        System.out.println(solution.maxFrequency(array, k, m));
    }
}

class Solution {
    public int maxFrequency(int[] nums, int k, int numOperations) {
        int n = nums.length;

        int[] res = new int[n];

        for (int i = 0; i < n; i++) {
            for (int j = -k; j <= k; j++) {

            }
        }
    }
}


